<select name="men_ordem[<?=$a;?>]" <?=$estilo;?>>

    <?php
    $sql_menu = "SELECT * FROM menu WHERE sta_id='1'";
    $res_menu = sql($sql_menu);
    $num_menu = mysql_num_rows($res_menu);
    for($i=1;$i<=$num_menu;$i++){
    ?>
    <option value="<?=$i;?>" <?php if($i == $linha['men_ordem']) { echo "selected"; } ?>><?=$i;?></option>
    <?php } ?>

</select>
<input type="hidden" name="men_id[<?=$a;?>]" value="<?=$linha['men_id'];?>">